package components.events
{
	import flash.events.Event;
	
	/**
	 *滚动对象的最大尺寸发生变化 
	 * @author Administrator
	 * 
	 */	
	public class ViewPortMaxSizeChangeEvent extends Event
	{
		public static const MAX_HEIGHT_CHANGE:String="maxHeightChange";
		public static const MAX_WIDTH_CHANGE:String="maxWidthChange";
		
		public var oldMaxHeight:Number;
		public var oldMaxWidth:Number;
		
		public function ViewPortMaxSizeChangeEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new ViewPortMaxSizeChangeEvent(type,bubbles,cancelable);
		}
	}
}